
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title><?php echo $title ?></title>
	<link rel="stylesheet" type="text/css" href="/public/lib/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="/public/css/login.css">
</head>

<body>
	<div class="container">
		<form class="form-login" role="form" action="/login/check" method="post" >
			<?php if(isset($message)) { ?>
			<div class="alert alert-warning alert-dismissable">
			  <?php echo $message; ?>
			</div>
			<?php }?>
			<div class="form-group">
				<label for="user">账号</label>
				<input type="text" class="form-control" id="user" name="user" placeholder="账号">
			</div>
			<div class="form-group">
				<label for="password">密码</label>
				<input type="password" class="form-control" id="password" name="password" placeholder="密码">
			</div>
<!-- 			<label class="checkbox">
			<input type="checkbox" value="remember"> 记住我
			</label>
 -->			<button class="btn btn-lg btn-primary btn-block" type="submit">登陆</button>
		</form>
	</div> <!-- /container -->
</body>
</html>
